import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'YesOrNo'
})
export class YerOrNoPipe implements PipeTransform {
  transform(value: boolean): string {
    return value ? '是' : '否';
  }


}
